import request from '@/utils/request'

export function getAuthRule(params) {
  return request({
    url: '/api/auth_rule/getAuthRule',
    method: 'get',
    params
  })
}
export function createAuthRule(data) {
  return request({
    url: '/api/auth_rule/createAuthRule',
    method: 'post',
    data
  })
}
export function updateAuthRule(params) {
  return request({
    url: '/api/auth_rule/updateAuthRule',
    method: 'get',
    params
  })
}
export function deleteAuthRule(params) {
  return request({
    url: '/api/auth_rule/deleteAuthRule',
    method: 'get',
    params
  })
}

